import request from '/src/utils/request.js';

export function getList(query) {
  return request({
    url: '/api/index',
    method: 'get',
    params: query,
  });
}

export function updateList(data) {
  return request({
    url: '/',
    method: 'post',
    data,
  });
}
